<!DOCTYPE html>
<html>
<!-- Mirrored from /theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>排行编辑-乡土味士</title>
  <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
  <link rel="shortcut icon" href="favicon.ico">
  <link href="http://news.xiangtws.com/__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  <link href="__PUBLIC__/css/plugins/footable/footable.core.css" rel="stylesheet">
  <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">

  <link href="__PUBLIC__/css/plugins/summernote/summernote.css" rel="stylesheet">
  <link href="http://news.xiangtws.com/__PUBLIC__/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
  <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
  <script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
  <script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
  <script src="__PUBLIC__/js/plugins/footable/footable.all.min.js"></script>
  <script src="__PUBLIC__/js/content.min.js?v=1.0.0"></script>
  <script src="__PUBLIC__/js/plugins/summernote/summernote.min.js"></script>
  <script src="__PUBLIC__/js/plugins/summernote/summernote-zh-CN.js"></script>
  <!--日期显示插件-->
  <script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
  <style>
    /* Additional style to fix warning dialog position */
    #alertmod_table_list_2 {
      top: 900px !important;
    }
  </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>编辑排行</h5>
        </div>
        <div class="ibox-content">
          <form action="" method="post" class="form-horizontal">
            <div class="form-group">
              <label class="col-sm-2 control-label">期数</label>
              <div class="col-sm-5">
                <input type="text" name="type_name" value="{$type_name}" class="form-control">
              </div>
            </div>

            <div class="form-group">

              <label class="col-sm-2 control-label">限制人数</label>

              <div class="col-sm-5">

                <input type="number" name="success_num" value="{$success_num}" placeholder="" class="form-control">

              </div>

            </div>

            <div class="form-group">

              <label class="col-sm-2 control-label">活动时间</label>

              <div class="col-sm-10">

                <input class="form-control layer-date" name="starttime" placeholder="{$starttime}" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">

                <input class="form-control layer-date" name="endtime" placeholder="{$endtime}" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">

              </div>

            </div>

            <div class="form-group">

              <label class="col-sm-2 control-label">状态</label>

              <div class="col-sm-2">
                <select class="form-control m-b" name="state" disabled>
                  <option value="0">未开始</option>
                  <option value="1">已开始</option>
                  <option value="2">已结束</option>
                  <option value="3">已删除</option>
                </select>
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-primary" onClick="save()">保存</button>
                <button class="btn btn-white" type="button" onclick="window.location.href='__MODULE__/Foretaste/index'">取消</button>
              </div>
            </div>
          </form>
          <if condition="$state eq 2">
            <div id="tab-1" class="tab-pane active">
              <div class="table-responsive">
                <table class="table table-striped table-hover" style="margin-left: 10%;width: 60%;text-align: center" >
                  <tbody>
                  <tr>
                    <td style="text-align: center">排名 </td>
                    <td>头像 </td>
                    <td>昵称</td>
                    <td>小区</td>
                    <td>爱心值</td>
                  </tr>
                  <volist name="member_ranking" id="vo">
                    <tr>
                      <td>{$key+1}</td>
                      <td class="client-avatar"><img alt="image" src="{$vo.avatar}"> </td>
                      <td><a data-toggle="tab" href="#" class="client-link">{$vo.nickname}</a>
                      </td>
                      <td> {$vo.c_id}</td>
                      <td> {$vo.eva_num}</td>
                    </tr>
                  </volist>
                  </tbody>
                </table>
              </div>
              <div class="slimScrollBar" style="background: rgb(0, 0, 0); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 365.112px;"></div>
              <div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.2; z-index: 90; right: 1px;"></div>
            </div>
          </if>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
    $("select[name='state'] option[value='"+"{$state}"+"']").attr("selected","selected");
</script>
</body>
<!-- Mirrored from /theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
</html>